package com.sun.service;

import com.sun.dto.UserDTO;
import com.sun.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SunRui
 * @since 2024-12-11
 */
public interface IUserService extends IService<User> {

    List<User> selectUserBySquadId(Integer squadId);

    int addUser(UserDTO userDTO);

    int deleteUserById(Integer id,Integer squadId);
}
